//package com.example.demo.model;
//
//import org.springframework.beans.factory.InitializingBean;
//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.stereotype.Component;
////
//@Component
//public class Read implements InitializingBean {
//    @Value("${server.port}")
//    private String port;
//
//    @Override
//    public void afterPropertiesSet() throws Exception {
//        System.out.println();
//        System.out.println(port);
//        System.out.println();
//    }
//}
